﻿using RabbitMQ.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XYS.Service.Core.Models
{
    /// <summary>
    /// 消费通道实体
    /// </summary>
    public class ChannelView
    {
        /// <summary>
        /// 队列名称
        /// </summary>
        public string QueueName { get; set; }

        /// <summary>
        /// 通道索引
        /// </summary>
        public int Index { get; set; }

        /// <summary>
        /// 消费同道
        /// </summary>
        public IModel Channel { get; set; }
    }
}
